<template>
  <div id="app">
  <keep-alive>
    <router-view></router-view>
  </keep-alive>
      
  </div>
</template>

<script>
export default {
  name: 'app',
  data () {
    return {
      
    }
  },
  // beforeRouteEnter(to, from, next){
  //     next(vm=>{
  //         console.log(123);
  //     })
  // },
  
 
}
</script>

<style>
  #app{
    max-width: 640px;
    margin: 0 auto;
  }
</style>
